/*
 * @Author: xiaosihan 
 * @Date: 2024-10-01 23:39:13 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-10-02 00:01:45
 */

import { autorun } from "mobx";
import { ReactNode, useEffect, useRef, useState } from "react";
import styles from "./measureBox.module.less";
import DragModel from "../DragModel/DragModel";

interface Iprops {
    children?: ReactNode
}

//测量包围盒
export default function MeasureBox() {

    const dom = useRef<HTMLDivElement | null>(null);
    const [data, setData] = useState({});

    useEffect(() => {

    }, []);

    useEffect(() => autorun(() => {

    }, { delay: 10 }), []);

    return (
        <DragModel
            id="box"
            title="测量包围盒"
            orginLeft={250}
            orginTop={250}
        >
            <div className={styles.measureBox}>
                测量体积
            </div>
        </DragModel>
    );

}